package com.ljfiction.book.Baner;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Android on 2017/10/11.
 */

public class BookCommentBean {


    /**
     * returnCode : 200
     * msg : 数据加载成功！
     * data : {"pageNum":1,"pageSize":10,"size":4,"startRow":1,"endRow":4,"total":2,"pages":1,"list":[{"id":141,"bookId":76,"bookName":"佛曰：我很帅","replyCommentsContent":null,"commentContext":"快来啊","commentDateTime":1509412427000,"userId":71,"pseudonym":"佛曰我很帅","thumbsCount":0,"userAddressIP":null,"commentisRed":null,"commentType":null,"isthumbs":0,"commentId":null,"userSex":0,"userHeadPortraitURL":"http://useravatarimg.oss-cn-hangzhou.aliyuncs.com/UserAvatar/userDefaultHandImg2.jpg","userGrade":0,"vipGrade":0,"replyCount":0},{"id":140,"bookId":76,"bookName":"佛曰：我很帅","replyCommentsContent":null,"commentContext":"呵呵我是第一个","commentDateTime":1509412409000,"userId":71,"pseudonym":"佛曰我很帅","thumbsCount":0,"userAddressIP":null,"commentisRed":null,"commentType":null,"isthumbs":0,"commentId":null,"userSex":0,"userHeadPortraitURL":"http://useravatarimg.oss-cn-hangzhou.aliyuncs.com/UserAvatar/userDefaultHandImg2.jpg","userGrade":0,"vipGrade":0,"replyCount":0},{"id":140,"bookId":76,"bookName":"佛曰：我很帅","replyCommentsContent":null,"commentContext":"呵呵我是第一个","commentDateTime":1509412409000,"userId":71,"pseudonym":"佛曰我很帅","thumbsCount":0,"userAddressIP":null,"commentisRed":null,"commentType":null,"isthumbs":0,"commentId":null,"userSex":0,"userHeadPortraitURL":"http://useravatarimg.oss-cn-hangzhou.aliyuncs.com/UserAvatar/userDefaultHandImg2.jpg","userGrade":0,"vipGrade":0,"replyCount":0},{"id":141,"bookId":76,"bookName":"佛曰：我很帅","replyCommentsContent":null,"commentContext":"快来啊","commentDateTime":1509412427000,"userId":71,"pseudonym":"佛曰我很帅","thumbsCount":0,"userAddressIP":null,"commentisRed":null,"commentType":null,"isthumbs":0,"commentId":null,"userSex":0,"userHeadPortraitURL":"http://useravatarimg.oss-cn-hangzhou.aliyuncs.com/UserAvatar/userDefaultHandImg2.jpg","userGrade":0,"vipGrade":0,"replyCount":0}],"firstPage":1,"prePage":0,"nextPage":0,"lastPage":1,"isFirstPage":true,"isLastPage":true,"hasPreviousPage":false,"hasNextPage":false,"navigatePages":8,"navigatepageNums":[1]}
     */

    private int returnCode;
    private String msg;
    private DataBean data;

    public int getReturnCode() {
        return returnCode;
    }

    public void setReturnCode(int returnCode) {
        this.returnCode = returnCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * pageNum : 1
         * pageSize : 10
         * size : 4
         * startRow : 1
         * endRow : 4
         * total : 2
         * pages : 1
         * list : [{"id":141,"bookId":76,"bookName":"佛曰：我很帅","replyCommentsContent":null,"commentContext":"快来啊","commentDateTime":1509412427000,"userId":71,"pseudonym":"佛曰我很帅","thumbsCount":0,"userAddressIP":null,"commentisRed":null,"commentType":null,"isthumbs":0,"commentId":null,"userSex":0,"userHeadPortraitURL":"http://useravatarimg.oss-cn-hangzhou.aliyuncs.com/UserAvatar/userDefaultHandImg2.jpg","userGrade":0,"vipGrade":0,"replyCount":0},{"id":140,"bookId":76,"bookName":"佛曰：我很帅","replyCommentsContent":null,"commentContext":"呵呵我是第一个","commentDateTime":1509412409000,"userId":71,"pseudonym":"佛曰我很帅","thumbsCount":0,"userAddressIP":null,"commentisRed":null,"commentType":null,"isthumbs":0,"commentId":null,"userSex":0,"userHeadPortraitURL":"http://useravatarimg.oss-cn-hangzhou.aliyuncs.com/UserAvatar/userDefaultHandImg2.jpg","userGrade":0,"vipGrade":0,"replyCount":0},{"id":140,"bookId":76,"bookName":"佛曰：我很帅","replyCommentsContent":null,"commentContext":"呵呵我是第一个","commentDateTime":1509412409000,"userId":71,"pseudonym":"佛曰我很帅","thumbsCount":0,"userAddressIP":null,"commentisRed":null,"commentType":null,"isthumbs":0,"commentId":null,"userSex":0,"userHeadPortraitURL":"http://useravatarimg.oss-cn-hangzhou.aliyuncs.com/UserAvatar/userDefaultHandImg2.jpg","userGrade":0,"vipGrade":0,"replyCount":0},{"id":141,"bookId":76,"bookName":"佛曰：我很帅","replyCommentsContent":null,"commentContext":"快来啊","commentDateTime":1509412427000,"userId":71,"pseudonym":"佛曰我很帅","thumbsCount":0,"userAddressIP":null,"commentisRed":null,"commentType":null,"isthumbs":0,"commentId":null,"userSex":0,"userHeadPortraitURL":"http://useravatarimg.oss-cn-hangzhou.aliyuncs.com/UserAvatar/userDefaultHandImg2.jpg","userGrade":0,"vipGrade":0,"replyCount":0}]
         * firstPage : 1
         * prePage : 0
         * nextPage : 0
         * lastPage : 1
         * isFirstPage : true
         * isLastPage : true
         * hasPreviousPage : false
         * hasNextPage : false
         * navigatePages : 8
         * navigatepageNums : [1]
         */

        private int pageNum;
        private int pageSize;
        private int size;
        private int startRow;
        private int endRow;
        private int total;
        private int pages;
        private int firstPage;
        private int prePage;
        private int nextPage;
        private int lastPage;
        private boolean isFirstPage;
        private boolean isLastPage;
        private boolean hasPreviousPage;
        private boolean hasNextPage;
        private int navigatePages;
        private List<ListBean> list;
        private List<Integer> navigatepageNums;

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getStartRow() {
            return startRow;
        }

        public void setStartRow(int startRow) {
            this.startRow = startRow;
        }

        public int getEndRow() {
            return endRow;
        }

        public void setEndRow(int endRow) {
            this.endRow = endRow;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public int getFirstPage() {
            return firstPage;
        }

        public void setFirstPage(int firstPage) {
            this.firstPage = firstPage;
        }

        public int getPrePage() {
            return prePage;
        }

        public void setPrePage(int prePage) {
            this.prePage = prePage;
        }

        public int getNextPage() {
            return nextPage;
        }

        public void setNextPage(int nextPage) {
            this.nextPage = nextPage;
        }

        public int getLastPage() {
            return lastPage;
        }

        public void setLastPage(int lastPage) {
            this.lastPage = lastPage;
        }

        public boolean isIsFirstPage() {
            return isFirstPage;
        }

        public void setIsFirstPage(boolean isFirstPage) {
            this.isFirstPage = isFirstPage;
        }

        public boolean isIsLastPage() {
            return isLastPage;
        }

        public void setIsLastPage(boolean isLastPage) {
            this.isLastPage = isLastPage;
        }

        public boolean isHasPreviousPage() {
            return hasPreviousPage;
        }

        public void setHasPreviousPage(boolean hasPreviousPage) {
            this.hasPreviousPage = hasPreviousPage;
        }

        public boolean isHasNextPage() {
            return hasNextPage;
        }

        public void setHasNextPage(boolean hasNextPage) {
            this.hasNextPage = hasNextPage;
        }

        public int getNavigatePages() {
            return navigatePages;
        }

        public void setNavigatePages(int navigatePages) {
            this.navigatePages = navigatePages;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public List<Integer> getNavigatepageNums() {
            return navigatepageNums;
        }

        public void setNavigatepageNums(List<Integer> navigatepageNums) {
            this.navigatepageNums = navigatepageNums;
        }

        public static class ListBean implements Serializable {
            /**
             * id : 141
             * bookId : 76
             * bookName : 佛曰：我很帅
             * replyCommentsContent : null
             * commentContext : 快来啊
             * commentDateTime : 1509412427000
             * userId : 71
             * pseudonym : 佛曰我很帅
             * thumbsCount : 0
             * userAddressIP : null
             * commentisRed : null
             * commentType : null
             * isthumbs : 0
             * commentId : null
             * userSex : 0
             * userHeadPortraitURL : http://useravatarimg.oss-cn-hangzhou.aliyuncs.com/UserAvatar/userDefaultHandImg2.jpg
             * userGrade : 0
             * vipGrade : 0
             * replyCount : 0
             */

            private int id;
            private int bookId;
            private String bookName;
            private Object replyCommentsContent;
            private String commentContext;
            private long commentDateTime;
            private int userId;
            private String pseudonym;
            private int thumbsCount;
            private int isTo;

            public int getIsTo() {
                return isTo;
            }

            public void setIsTo(int isTo) {

                this.isTo = isTo;
            }

            private Object userAddressIP;
            private int commentisRed;
            private Object commentType;
            private int isthumbs;
            private Object commentId;
            private int userSex;
            private String userHeadPortraitURL;
            private int userGrade;
            private int vipGrade;
            private int replyCount;
            private int replyCommentInfoCount;

            public int getReplyCommentInfoCount() {
                return replyCommentInfoCount;
            }

            public void setReplyCommentInfoCount(int replyCommentInfoCount) {
                this.replyCommentInfoCount = replyCommentInfoCount;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getBookId() {
                return bookId;
            }

            public void setBookId(int bookId) {
                this.bookId = bookId;
            }

            public String getBookName() {
                return bookName;
            }

            public void setBookName(String bookName) {
                this.bookName = bookName;
            }

            public Object getReplyCommentsContent() {
                return replyCommentsContent;
            }

            public void setReplyCommentsContent(Object replyCommentsContent) {
                this.replyCommentsContent = replyCommentsContent;
            }

            public String getCommentContext() {
                return commentContext;
            }

            public void setCommentContext(String commentContext) {
                this.commentContext = commentContext;
            }

            public long getCommentDateTime() {
                return commentDateTime;
            }

            public void setCommentDateTime(long commentDateTime) {
                this.commentDateTime = commentDateTime;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public String getPseudonym() {
                return pseudonym;
            }

            public void setPseudonym(String pseudonym) {
                this.pseudonym = pseudonym;
            }

            public int getThumbsCount() {
                return thumbsCount;
            }

            public void setThumbsCount(int thumbsCount) {
                this.thumbsCount = thumbsCount;
            }

            public Object getUserAddressIP() {
                return userAddressIP;
            }

            public void setUserAddressIP(Object userAddressIP) {
                this.userAddressIP = userAddressIP;
            }

            public int getCommentisRed() {
                return commentisRed;
            }

            public void setCommentisRed(int commentisRed) {
                this.commentisRed = commentisRed;
            }

            public Object getCommentType() {
                return commentType;
            }

            public void setCommentType(Object commentType) {
                this.commentType = commentType;
            }

            public int getIsthumbs() {
                return isthumbs;
            }

            public void setIsthumbs(int isthumbs) {
                this.isthumbs = isthumbs;
            }

            public Object getCommentId() {
                return commentId;
            }

            public void setCommentId(Object commentId) {
                this.commentId = commentId;
            }

            public int getUserSex() {
                return userSex;
            }

            public void setUserSex(int userSex) {
                this.userSex = userSex;
            }

            public String getUserHeadPortraitURL() {
                return userHeadPortraitURL;
            }

            public void setUserHeadPortraitURL(String userHeadPortraitURL) {
                this.userHeadPortraitURL = userHeadPortraitURL;
            }

            public int getUserGrade() {
                return userGrade;
            }

            public void setUserGrade(int userGrade) {
                this.userGrade = userGrade;
            }

            public int getVipGrade() {
                return vipGrade;
            }

            public void setVipGrade(int vipGrade) {
                this.vipGrade = vipGrade;
            }

            public int getReplyCount() {
                return replyCount;
            }

            public void setReplyCount(int replyCount) {
                this.replyCount = replyCount;
            }
        }
    }
}
